package uba.ing2.subite.domain;

public abstract class AbstractPaymentTerminal implements PaymentTerminal {
	private final String identifier;
    private final LegalEntity legalEntity;
	
	public AbstractPaymentTerminal(String identifier, LegalEntity legalEntity) {
		this.identifier = identifier;
		this.legalEntity = legalEntity;
	}
	
	@Override
	public String identifier() {
		return identifier;
	}
	
	@Override
    public LegalEntity legalEntity() {
        return legalEntity;
    }
}
